package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.service.fallback.DetailedDataReportingServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 详情数据上报相关的Feign接口
 */
@FeignClient(value = "zjcode-chronic-disease-cancer-server", fallback = DetailedDataReportingServiceFallback.class)
public interface DetailedDataReportingService {

    @PostMapping("/cdcerserver/v1/detaileddatareporting/listAllTableColumn")
    JsonObj listAllTableColumn(PageData pageData);

    @PostMapping("/cdcerserver/v1/detaileddatareporting/listAllTableColumn4Office")
    JsonObj listAllTableColumn4Office(PageData pageData);
}
